//
//  AppDelegate.m
//  ProfileManager
//
//  Created by txj on 2017/3/16.
//  Copyright © 2017年 yudi. All rights reserved.
//

#import "AppDelegate.h"

#import "PMWindowController.h"


@interface AppDelegate ()

@property (nonatomic, strong) PMWindowController *mainWindowController;

@end


@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    _mainWindowController = [[PMWindowController alloc] initWithWindowNibName:@"PMWindowController"];
    
    [_mainWindowController showWindow:nil];
    
    [NSApp activateIgnoringOtherApps:YES];
}

- (void)applicationWillTerminate:(NSNotification *)aNotification {
    // Insert code here to tear down your application
}

@end
